
import request from '../utils/request.js'

export const login = (user) => request('user/login', user, 'POST')

export const getInfo = (params) => {
  return request('user/getInfo', params, "GET")
}

export const getUserList = (params) => {
  return request('user/getUserList', params ,"GET")
}

export const register = (params) => {
  return request('user/register', params, "POST")
}


